import request from '@/utils/request'

/**
 * 详情
 * @param {*} id 
 * @returns 
 */
export function shopBusinessDetail(id) {
  return request({
    url: `/api/v1/ctmCustomerChange/detail/shopBusiness/${id}`,
    method: 'GET'
  })
}
/**
 * 保存或提交
 * @param {*} data 
 * @returns 
 */
export function shopBusinessSaveOrSubmit(data) {
  return request({
    url: `/api/v1/ctmCustomerChange/createOrSubmit/shopBusiness`,
    method: 'POST',
    data
  })
}
/**
 * 审核
 * @param {*} data 
 * @returns 
 */
export function shopBusinessAudit(data) {
  return request({
    url: '/api/v1/ctmCustomerChange/review/shopBusiness',
    method: 'POST',
    data
  })
}